package config;

import com.jfinal.aop.AopManager;
import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
import service.ICrudDemoServer;
import service.impl.CrudDemoServerImpl;

/**
 * @Author: Raymond
 * @Date: 2020/7/14 15:57
 * @Description:
 */
public class ServiceMapping {
    public static void mapping(ActiveRecordPlugin arp) {
        //切面映射
        AopManager.me().addMapping(ICrudDemoServer.class, CrudDemoServerImpl.class);
    }
}
